*,
*::after,
*::before {
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
}

body {
    font-size: 1.6rem;
    font-family: "Fira Sans", sans-serif;
    color: #767070;
    background-color: #ffffff;
}

a {
    color: #ccd0c1;
    text-decoration: none;
}

.slider-wrapper {
    position: relative;
    height: 100%;
    padding: 10px;
    top: 50px;
    margin-bottom: 50px;
}

@media only screen and (min-width: 900px) {
    .slider-wrapper {
        padding: 30px;
    }
}

.slider {
    position: relative;
    z-index: 1;
    height: 100%;
    overflow: hidden;
}

.slider li {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;

    transform: translateX(100%);

    transition: transform 0.6s;
}

.slider li.is-visible {
    transform: translateX(0);
}

.slider .half-block {
    height: 50%;
    background-position: center center;
    background-repeat: no-repeat;
}

.slider li:first-of-type .image {
    background-image: url(../img/故宫一角.jpg);
}

.slider li:nth-of-type(2) .image {
    background-image: url(../img/当扎什伦布寺遇上紫禁城.jpg);
}

.slider li:nth-of-type(3) .image {
    background-image: url(../img/名画记.jpg);
}

.slider li:nth-of-type(4) .image {
    background-image: url(../img/纪念紫禁城建成600年.jpg);
}

.slider .image {
    background-size: cover;
}

.slider .content {
    padding: 30px;
    color: #ffffff;
    background-color: #767070;
}

.slider .light-bg {
    color: rgba(0, 0, 0, 0.6);
}

.slider .btn {
    display: inline-block;
    background: rgba(0, 0, 0, 0.2);
    padding: 1em 1.6em;
    margin-top: 1em;
    font-size: 1.3rem;
    color: #ffffff;
    border-radius: 50em;
    transition: background 0.3s;
}

.touch .slider .btn:hover {
    background: rgba(0, 0, 0, 0.6);
}

.slider li:nth-of-type(2) .content {
    background-color: #ccd0c1;
}

.slider li:nth-of-type(3) .content {
    background-color: #f3b96c;
}

.slider li:nth-of-type(4) .content {
    background-color: #f46c6a;
}

.slider h2 {
    font-size: 2.2rem;
    margin-bottom: .4em;
}

.slider p {
    font-size: 1.4rem;
}

.slider h2,
.slider p {
    line-height: 1.4;
}

@media only screen and (min-width: 900px) {
    .slider li {
        pointer-events: none;
        z-index: 1;
        transform: translateX(0);
        transition: z-index 0s 0.6s;
    }

    .slider li.is-visible {
        pointer-events: auto;
        z-index: 3;
        transition: z-index 0s 0s;
    }

    .slider li.is-visible.covered {
        z-index: 2;
    }

    .slider .half-block {
        height: 100%;
        width: 50%;
        float: right;
    }

    .slider .half-block.content {
        transform: translateX(200%);
        transition: transform 0.6s 0s ease-in-out;
    }

    .slider .half-block.image {
        transform: translateX(100%);
        transition: transform 0s 0.3s;
    }

    .slider li.is-visible .half-block.content,
    .slider li.is-visible .half-block.image {
        transform: translateX(0%);
    }

    .slider li.is-visible .half-block.content {
        transition: transform 0.6s 0s ease-in-out;
    }

    .slider .content {
        display: table;
        padding: 0 40px;
    }

    .slider .content>div {
        display: table-cell;
        vertical-align: middle;
    }

    .slider .btn {
        padding: 1.4em 2em;
        font-size: 1.4rem;
    }

    .slider p {
        font-size: 1.6rem;
    }

    .slider h2 {
        font-size: 3.5rem;
        margin-bottom: 0;
    }

    .slider h2,
    .slider p {
        line-height: 2;
    }
}

@media only screen and (min-width: 1170px) {
    .slider .content {
        padding: 0 90px;
    }

    .slider h2 {
        font-weight: 300;
    }
}

.slider-navigation {
    position: absolute;
    z-index: 3;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    bottom: 30px;
}

.slider-navigation li {
    display: inline-block;
    margin: 0 .25em;
}

.slider-navigation li.selected a {
    background-color: #ffffff;
}

.slider-navigation a {
    display: block;
    height: 8px;
    width: 8px;
    border-radius: 50%;
    color: transparent;
    white-space: nowrap;
    text-indent: 100%;
    overflow: hidden;
    border: 1px solid #ffffff;
}

@media only screen and (min-width: 900px) {
    .slider-navigation {
        padding: 0.5em 1em;
        background-color: rgba(0, 0, 0, 0.8);
        transform: translateZ(2px) translateX(-50%);
        transition: transform 0.3s;
    }

    .slider-navigation.slider-animating {
        transform: translateX(-50%) scale(1);
    }

    .slider-navigation a {
        height: 40px;
        width: 40px;
        line-height: 40px;
        text-align: center;
        text-indent: 0;
        border: none;
        border-radius: 0;
        color: #ffffff;
    }

    .slider-navigation li.selected a {
        background-color: transparent;
        color: #f3b96c;
    }
}

.header {
    width: 100%;
    height: 1080px;
    overflow: hidden;
    position: relative;
    background: url("../img/清乾隆 剔彩龙凤集福葵瓣式.jpg") center center no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

.header2 {
    width: 100%;
    height: 1080px;
    overflow: hidden;
    position: relative;
    background: url("../img/故宫一角.jpg") center center no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

.text {
    position: absolute;
    top: 30%;
    left: 300px;
    width: 50%;
}

.text p {
    font-size: 24px;
    font-family: "微软雅黑";
    color: #fff;
}

.bg-video .shadow {
    width: 100%;
    height: 1080px;
    overflow: hidden;
    margin: auto;
}

.bg-video {
    background: url("../img/当扎什伦布寺遇上紫禁城.jpg") center center no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

.footer {
    margin-top: 70px;
    background-color: #333
}

.footer_content {
    width: 80%;
    padding-top: 50px;
    border-bottom: 1px solid #ddd;

}

.footer_content_left {
    float: left;
}

.footer_content_right ul {
    float: right;
    margin-left: 25px;
    margin-right: 25px;
    padding-bottom: 15px;
}

.footer_content_right li {
    font-size: 15px;
    font-weight: 300px;
    color: #777;
}

.footer_content_bottom {
    padding: 15px;
    text-align: center;
}

.footer_content_right li a:link,
.footer_content_right li a:visited {
    color: #fff;
    text-decoration: none;
}

.footer_content_right li a:hover {
    color: #777;
    text-decoration: none;
    transition: all 0.3s;
}

.back_top {
    position: fixed;
    bottom: 50px;
    right: 20px;
    background-color: brown;
    width: 50px;
    height: 50px;
    line-height: 50px;
    cursor: pointer;
    z-index: 99;
  }
  
  .back_top p {
    color: #ffffff;
    font-size: 12px;
  }

.clearfix {
    clear: both;
}